System and method for communicating state and title information between a browser and a rich Internet application

ABSTRACT

A system and method communicates address and state information from a browser to a rich Internet application to allow the rich Internet application to start at a location, or preload variables, corresponding to the state information. The system and method communicates address and state information from the rich Internet application to the browser to allow such information to be displayed by the browser for use or retrieval.

RELATED APPLICATION

This application claims the benefit of U.S. provisional patent application Ser. No. 60/736,978, entitled “Method and Apparatus for Communicating State and Title Information Between a Browser and a Rich Internet Application”, filed on Nov. 14, 2005 by Kevin Lynch, having the same assignee as the present invention, and is hereby incorporated by reference in its entirety.

FIELD OF THE INVENTION

The present invention is related to computer software and more specifically to computer software for the Internet.

BACKGROUND OF THE INVENTION

Many internet addresses employ representational state transfer information (known as “REST information”) to specify the contents of a web page. The REST information is used by the server to retrieve and provide the web page.

For example, selecting a book at the Web Site of Amazon.com takes you to a link: amazon.com/exec/obidos/tg/detail/-/0321213432/qid=1107977455/sr=1-8/ref=sr_(—)1_(—)8/104-2847832-6485547?v=glance&s=books. Everything after the domain name may be REST information (the http://www has been omitted from the link above).

REST information is not only useful to the server: it can also be useful for the user. A browser will record the entire link, including the REST information, to allow a user to use the back button on a browser and get back to a prior-viewed page, or a user can bookmark the link. The user can also cut the link from the browser's address box, and provide it in an e-mail message, for example. In either case, the link can be used to navigate directly to the page desired, bypassing the site navigation tools that would otherwise be required to get there if one had only the domain name.

The representational state transfer information may contain information that can be useful for other purposes. For example, John Udell's Library Lookup Bookmarklets scrapes the ISBN from the REST information used in popular book retailer's web sites to show a user whether one or more specified libraries carries the book being viewed on the retailer's web site.

Another form of information that the user of a web page can use is a title of a web page. The title of a web page is displayed in certain locations, notably across the title bar of the browser window. If the title describes the information in the web page being displayed, the user can use the title to identify the information contained in the web page being displayed. The title may also be captured with a bookmark and used as the title of the bookmark, simplifying the bookmarking process. Additionally, the title can be used as the title of the window, and the title may be displayed in a status area of the operating system, indicating all windows active, to assist the user in selecting among the various windows.

The REST information and the title can change as described above for every web page displayed. This allows the exact location of a web page to be freely available, and the title information to remain current. However, when the information being displayed in a browser contains a Rich Internet Application (known as “RIA”), such as a Flash movie, the title and REST information will not change from the web page used to download the RIA. Thus, the title can become out of sync with the content of the RIA and the REST information only indicates the web page used to navigate to the start of the RIA. This REST information cannot be used to mark a specific point in the RIA for the purposes described above or be used to directly navigate to a point past the starting point of the RIA.

Some web sites have read in REST information in the URI that was either entered by a user or part of a link, to allow a user to jump to a specific web page, but such information was never updated in the address box of the browser as the RIA progressed.

What is needed is a system and method that can allow the browser to display REST information that corresponds to various points in a RIA, can utilize the RIA information provided to navigate to a point in the RIA after the start of the RIA and can update the browser title to correspond to the information being displayed in the RIA.

SUMMARY OF INVENTION

A system and method allows REST information to be retrieved from the address box of the browser and used by a rich Internet application (“RIA”) to navigate to the point to which the REST or other information corresponds, preload variables, or both. As the RIA operates, at various points in the RIA, the system and method inserts an address and REST information into the address box of a browser, and/or a title to the title bar of the browser, to identify the state of the Rich Internet Application at each of those points. The user can capture the address and REST information from the address box to refer to the identified point at a later time.

To implement the operations described above, in one embodiment, the system and method adds a visual basic script and certain JavaScript functions, described below, to the web page that references the RIA (the “referring page”). One of the JavaScript functions identifies the type of the browser, for example, whether the browser is Internet Explorer or another type of browser, and provides the initial address and REST information used to load the page to the RIA via an HTML object and embed tag. The RIA can then parse the REST information in the information it receives and determine how to start in a manner that corresponds to the REST information. If no REST information is received, the RIA can start at a usual beginning point.

As the RIA operates, it can provide to the browser an address and REST information and title information that corresponds to the approximate location of the program as certain reference points in the program are reached or as other events occur. This may be accomplished for non-IE browsers by the RIA communicating to JavaScript functions in the referring web page that then provide this information to the browser. For Flash-based RIAs, communication with JavaScript is accomplished using the getURL instruction in Flash Actionscript. The RIA communicates with IE using VBScript functions in the referring web page that then provide the address and REST information and the title to the Browser. For Flash-based RIAs, communication with VBScript is accomplished using the fscommand in Flash Actionscript. The name of the VBScript function on the referring page will start with same name as the Flash application's ID used in the Object tag (e.g. “flashapp”). Other characters can finish the name of the VBScript function.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block schematic diagram of a conventional computer system.

FIG. 2, consisting of FIGS. 2A and 2B, is a flowchart illustrating a method of communicating REST information and title information between a browser and an RIA according to one embodiment of the present invention.

FIG. 3 is a block schematic diagram of a system for communicating REST information and title information between a browser and an RIA according to one embodiment of the present invention.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT

The present invention may be implemented as computer software on a conventional computer system. Referring now to FIG. 1, a conventional computer system 150 for practicing the present invention is shown. Processor 160 retrieves and executes software instructions stored in storage 162 such as memory, which may be Random Access Memory (RAM) and may control other components to perform the present invention. Storage 162 may be used to store program instructions or data or both. Storage 164, such as a computer disk drive or other nonvolatile storage, may provide storage of data or program instructions. In one embodiment, storage 164 provides longer term storage of instructions and data, with storage 162 providing storage for data or instructions that may only be required for a shorter time than that of storage 164. Input device 166 such as a computer keyboard or mouse or both allows user input to the system 150. Output 168, such as a display or printer, allows the system to provide information such as instructions, data or other information to the user of the system 150. Storage input device 170 such as a conventional floppy disk drive or CD-ROM drive accepts via input 172 computer program products 174 such as a conventional floppy disk or CD-ROM or other nonvolatile storage media that may be used to transport computer instructions or data to the system 150. Computer program product 174 has encoded thereon computer readable program code devices 176, such as magnetic charges in the case of a floppy disk or optical encoding in the case of a CD-ROM which are encoded as program instructions, data or both to configure the computer system 150 to operate as described below.

In one embodiment, each computer system 150 is a conventional SUN MICROSYSTEMS ULTRA 10 workstation running the SOLARIS operating system commercially available from SUN MICROSYSTEMS, Inc. of Mountain View, Calif., a PENTIUM-compatible personal computer system such as are available from DELL COMPUTER CORPORATION of Round Rock, Tex. running a version of the WINDOWS operating system (such as 95, 98, Me, XP, NT or 2000) commercially available from MICROSOFT Corporation of Redmond Wash. or a Macintosh computer system running the MACOS or OPENSTEP operating system commercially available from APPLE COMPUTER CORPORATION of Cupertino, Calif. and the NETSCAPE browser commercially available from NETSCAPE COMMUNICATIONS CORPORATION of Mountain View, Calif. or INTERNET EXPLORER browser commercially available from MICROSOFT above, although other systems may be used.

Browser Loads Referring Page

FIG. 2 illustrates a method of communicating REST information and title information between an RIA, such as a Flash application or other interactive application that is downloaded via a network, such as the Internet, and the user's browser. Referring now to FIG. 2, when a user wishes to access a web page that refers to a Rich Internet Application, or RIA, the user enters the address of the referring page, and optional REST information, into the address box of a conventional browser, such as Internet Explorer, commercially available from Microsoft Corporation of Redmond, Wash., or a Mozilla-based browser, such as the conventional Firefox browser, commercially available at the web site Firefox.com. The browser receives the address and REST information and loads the referring page corresponding to the address 210. In one embodiment, the referring page contains a reference to, or the code for, a Rich Internet Application, or RIA, such as a Flash application.

In one embodiment, an author adds the following code to the referring page (the web page that refers to the RIA), the operation of which is described in more detail further below:

function showFlash(swf, w, h)         (instruction 1) { var isMSIE = navigator.appName.indexOf (“Microsoft”) ! = −1;d(instr 2) var 11 = ′<object classid=″clsid: D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=″ http://fpdownload.macromedia.com/ pub/shockwave/cabs/flash/ swflash.cab#version=7, 0, 0, 0″ width=″′+w+′″  height=″′+h+′″    id=″flashapp″ align=″″>′                   (instr 3) var 12 = ′< param name=″movie″ value=″′+sw+′″ />′               (instr 4) var 13 = ′<param name=″menu″ value=″false″ />′               (instr 5) var 14 = ′<param name=″quality″ value=″best″ />′                (instr 6) var 15 = ′< param name=″FlashVars″ value=″initialURL=′+document.location+ ′&isMSIE=′+isMSIE+′” />′          (instr 7) var 16 = ′<embed src=″′+swf+′″ FlashVars=″initialURL=′+document.location+ ′&isMSIE=′+isMSIE+′″  menu=″false″  quality=″best″ width=″′+w+′″ height=″′+h+′″ name=″flashapp″align=″″ type=“application/x-shockwave-flash” pluginspage=″http://www.macromedia.com/″        . go/getflashplayer″></embed></object>′       (instr 8) document.write(11+12+13+14+15+16);       (instr 9) } --> </script> <script language=″JavaScript″> showFlash(″example.swf″, 500, 400);      (instr 10) </script>

In one embodiment, the REST information that may be received with the address may contain location references, variable information, or both. The browser displays the title of the referring page in the title bar of the browser and displays the address of the referring page in the address bar of the browser.

Supply RIA Name

The name of an RIA is supplied 214 by the referring page in instruction 10 of the code above, and the function “showFlash” is called with the name of an RIA, as shown below:

showFlash (“example.swf”, 500, 400);

In this example, the Flash Application “example.swf” is supplied 214, as the RIA name by the referring page.

Obtain Browser Type

The browser type is obtained 216 from the browser by the referring page. In one embodiment, the function “navigator.appName.indexOf” is used by the referring page with an argument of “Microsoft,” as shown above in instruction 2, and the value, true or false, is stored in the variable “is MSIE”. In the above example, if the function returns any response other than −1, then the referring page obtains 216 Internet Explorer as the browser type, and “is MSIE” is set to true; otherwise, “is MSIE” is set to false.

Arrange RIA Setup

The setup of the RIA is arranged 218 by the referring page. To arrange such setup, in one embodiment, the referring page constructs strings, which can be later carried out as commands, that assign values to parameters used by the browser to instantiate the RIA. For example, in line 7 above, the string “var 11” is a command, stored at this point as a string, to set the values of the variables “object classid”, “codebase”, “width”, “height”, “id” and “align” to the values shown above in instruction 3. In the above example, instructions 4 through 8 are similarly used to arrange the setup of an RIA that runs under the Flash player commercially available from Macromedia Inc. of San Francisco, Calif. at the web site macromedia.com.

Obtain Address and REST Information

The address and REST information is obtained 220 by the referring page from the browser. In one embodiment, the referring page obtains the address and REST information from the browser using “document.location”, as shown in instructions 7 and 8 above, which retrieves any REST information supplied with the address used to load the referring page.

Provides RIA Name, Address, REST Info, Browser Type to Browser

The name of the RIA, the address and REST information and the browser type are provided 222 by the referring page to the browser. In one embodiment, the referring page uses the various strings it has arranged in step 218 with the “document.write” in instruction 9 to provide the browser with the RIA name, address and REST information and browser type. The example above uses “document.write” with the argument “l1+l2+l3+l4+l5+l6”, which strings together variables l1 through l6, all of which are commands arranged by the referring page as described above. For example, instruction 7 of the code above shows “var l5,” which is part of the argument used by the referring page with “document.write,” to be a string which commands the browser to set FlashVars “initialURL” to the address and REST information of the page referring to the Flash application, and to set “is MSIE” to be true if the browser is Microsoft Internet Explorer. FlashVars are used to pass parameters to a Flash RIA and are described in more detail at the web page macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_(—)16417. When “document.write” executes, “var l5” will execute as a command, providing the REST information supplied with the address of the referring page and the browser type to the browser, which will make them available to the browser. Using “var l5,” with “document.write,” along with variables l1, l2, l3, l4 and l6, the RIA name, address and REST information and browser type are provided to the browser by the referring page, and the browser is commanded to instantiate the RIA and Flash.

Instantiate RIA, Provide REST Info and Browser Type

At step 224, the RIA is instantiated by the browser, and the address and REST information and browser type are provided, or otherwise made available, to the RIA by the browser as well. In one embodiment, as noted above, the Flash application and Flash are instantiated by the browser as a result of the document.write in instruction 9. The REST information and browser type are obtained from the browser by a Flash application, having been made available via the “FlashVars” parameter, set up as shown in instruction 7. As an example, “initialURL”, which is set to the whole URL of the page referring to the Flash application, including any REST information, and “is MSIE”, which is set to true if the browser is Microsoft Internet Explorer, are provided, or otherwise made available, to the RIA, as arranged in instructions 7 and 8.

Instantiate Communications to Receive Rest Info and Browser Type at RIA

At step 226, the communication capability between the RIA and the browser is optionally instantiated, and the REST information and browser type are received at the RIA. In one embodiment, to instantiate communications, a Flash RIA imports a BrowserStateManager class using “import BrowserStateManager”, and then creates a new instance of it, using “var browserstate=new BrowserStateManager( )”. The BrowserStateManager class is available at the web site www.klynch.com/apps/flashlinking/flashlinking.zip.

Start RIA at Normal Starting Point

If REST information has not been received 228 at the RIA, then the RIA starts operating 232 at the default starting point, for example the beginning of a movie. In one embodiment, to determine whether REST information has been received, the RIA parses the URL it receives for any REST information that corresponds to starting point information. The RIA may also parse the URL for initial variable information. Variables used by the program are initialized to their default values if no REST information corresponding to the variable information is present.

Start RIA According to REST Information

If REST information has been received at the RIA 228, then the RIA starts operating at the location in the RIA corresponding to the REST information, preloads certain variables, or both 230. The method continues at step 240 of FIG. 2B.

RIA Identifies New Title

In step 240, the RIA determines whether a new title should be displayed by the browser, and if so, it identifies 242 the new title for the browser to display. In one embodiment, if no new title is to be displayed 240, then the method continues at 260. In one embodiment, the RIA determines 244 whether the browser is Microsoft Internet Explorer or a non-Microsoft Internet Explorer browser, such as Firefox, a Mozilla-based Internet browser. In one embodiment, this determination is made based on the value of the “isMSIE” Flashvar received or retrieved by the RIA as part of step 226.

RIA Provides Title to Ref. Page Via VBScript Function

If the browser is Microsoft IE 244, then the RIA provides 246 the new title to the referring page by calling a VBScript function, and passing the title as a parameter to this function. In one embodiment, an FSCommand Flash ActionScript instruction is used to provide the new title to the VBScript function added to the referring page by the author of the referring page. In one embodiment, the function is added as follows:

<script language=“VBScript”>

<!--

Sub flashapp_FSCommand(ByVal command, ByVal args)

select case command

case “putHREF” location.href=args

case “putTitle” document.title=args

end select

end sub

-->

</script>

Fscommand is described at the web page, macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html

The name of the VBScript function on the referring page starts with same name as the Flash application's ID used in the Object tag (e.g. “flashapp”). Other characters can finish the name of the VBScript function.

Ref. Page Provides Title to Browser for Display

In step 248, the new title is provided to the browser by a VBScript function by the referring page, and the title display on the browser is updated accordingly. In one embodiment, the title information is provided 248 by the VBScript function on the referring page by setting the value of “document.title”, and the window title of the browser is updated by the browser in response. The method continues at step 260.

RIA Provides Title Info to Ref. Page Via Javascript

If the browser is not Microsoft Internet Explorer 244, then the RIA provides 250 the title information to the referring page using a JavaScript function. In one embodiment, the title information can be provided by the Flash RIA to a JavaScript function on the referring page by calling the getURL( ) function in ActionScript and using the “Javascript” prefix to indicate that there is an external JavaScript to be run. In one embodiment, receiving JavaScript functions are defined in the referring page as

<script language=“JavaScript”>

<!--

function flashPutHref(href) {location.href=href;}

function flashPutTitle(title) {document.title=title;}

-->

</script>

The getURL( ) function is described at the Web page macromedia.com/support/flash/action_scripts/actionscriptdictionary/actionscriptdictionary377.html

Referring Page Provides Title to Browser for Display

The referring page provides the title information to the browser, which updates the display, using “document.title” 252. In the JavaScript functions above,

function flashPutTitle(title) {document.title=title;}

assigns a new value to “document.title”, updating the window title 252.

RIA Identifies REST Info

If the RIA determines that the address and new REST information should be displayed 260 by the browser, it identifies 262 the new REST information to be displayed, and the method continues at step 264. In one embodiment, the address is the same address received by the RIA as described above. In one embodiment, if no new REST information is to be displayed 260, then the method continues at step 280. At step 264, the RIA determines 264 whether the browser is Microsoft Internet Explorer or a non-Microsoft Internet Explorer browser, such as Firefox, a Mozilla-based internet browser, as described above.

RIA Provides REST Info to Ref. Page Via VBScript

In a manner similar to the way the title is provided to Internet Explorer, as described above, if the browser is Microsoft IE 264, then the RIA provides 266 the REST information to the referring page using a VBScript function. The address may be the one received by the RIA as described above. In one embodiment, FSCommand Flash ActionScript is used, as shown above, to provide 266 the address and REST information to the referring page. In one embodiment, the REST information is provided to the referring page using a Flash ActionScript FSCommand function as follows:

Fscommand(“putHREF”, “#”+this.stateStr);

Although only the REST information is provided, in another embodiment, the REST information and address (received as described above) are provided by the RIA to the referring page.

Ref. Page Provides REST Info to Browser for Display

In step 268, the address and REST information are provided to the browser by the referring page, and the URL display on the browser is updated to display the address and REST information. In one embodiment, to provide the address and REST information to the browser, the VBScript function sets the value of location.href as shown in the example above. In this embodiment, the referring page appends the address to the REST information received from the RIA, though in other embodiments, the address and REST information are received from the RIA and provided to the browser as received.

The browser will display a URL that includes a web address as well as location and/or variable information. This information may be used, as described above, with reference to steps 228-232 to return the RIA to the same location.

RIA Provides REST Info to Ref. Page Via JavaScript

If the browser is not Microsoft Internet Explorer 264, then the RIA provides 270 the address and REST information to the referring page using a JavaScript function. In one embodiment, the address and REST information can be provided by the RIA to a JavaScript function on the referring page by calling “getURL” in ActionScript and using the “javascript” prefix to indicate that there is script to be run. For example,

getURL(‘javascript:flashPutHref(#‘+this.stateStr+’”);’);

is one way of providing the REST information to the referring page via a JavaScript function if the browser is a non-Internet-Explorer browser. In one embodiment, the REST information is provided to the referring page by the RIA and the referring page appends it to the address as described below. In another embodiment, the RIA provides the address and REST information to the referring page, using the address received as described above.

Ref. Page Provides REST Info to Browser for Display

The referring page then provides the address and REST information to the browser 272. In one embodiment, to provide the REST information to the browser, the JavaScript function sets a new value to “location.href”, as shown in line below:

function flashPutHref(href) {location.href=href;}

The browser then displays the address and REST information in the address box of the browser.

As noted, the referring page may append the address information to the REST information received from the RIA and provide the address and REST information to the browser. In another embodiment, the RIA provides both the address and REST information and the referring page receives it and provides it to the browser as received.

RIA Runs

The Rich Internet Application runs 280 in a conventional fashion. The RIA may run using any conventional technique of any conventional program. In one embodiment, if the RIA is a Flash movie, then the movie is displayed as an animation. At any time, the RIA may determine that a new title or new REST information may apply 240, 260. If the RIA determines that a new title applies 240, then the method continues at step 242. If the RIA determines that new REST information applies 260, then the method continues at step 262.

It can be helpful for the URL provided by the referring page to the browser as described above to be URL encoded as described at the web page blooberry.com/indexdot/html/topics/urlencoding.htm. Alternatively, the RIA can avoid the use of non-permitted characters, such as ‘&’ in the REST information.

FIG. 3 is a block schematic diagram of a system for communicating REST and title information between an RIA and a browser according to one embodiment of the present invention. Referring now to FIG. 3, browser 310 includes a conventional browser as described above. When browser 310 receives the address of a referring web page, it displays the title and address of the web page, and signals RIA name supplier 314, browser type obtainer 316, REST info obtainer 320 and RIA setup manager 318, all of which are parts of referring page 300.

When RIA name supplier 314 receives the signal from browser 310, it supplies the name of the RIA to name/REST/type provider 322 as described above.

When browser type obtainer 316 receives the signal from browser 310, browser type obtainer 316 obtains the browser type from browser 310 as described above, and provides it to name/REST/type provider 322.

When RIA setup manager 318 receives the signal from browser 310, RIA setup manager 318 arranges the setup of the RIA in the manner described above and sends the setup information to name/REST/type provider 322.

When REST info obtainer 320 receives the signal from browser 310, REST info obtainer 320 obtains the address and REST information from browser 310 as described above, and sends the REST information to name/REST/type provider 322.

When name/REST/type provider 322 receives the RIA name, browser type, address and REST information and RIA setup information from the different sources described above, it sends the information as a bundle to browser 310, in the manner described above.

When browser 310 receives the RIA name, browser type, address and REST information and the RIA setup information from name/REST/type provider 322, browser 310 uses the RIA name and RIA setup information to identify the RIA 390 and passes REST the information and browser type to instantiator/receiver 326 of the RIA 390.

When instantiator/receiver 326 receives the address and REST information and browser type from the browser 310, it stores the browser type information in browser type storage 334 and signals and provides any address and REST information to starting point identifier/executor 328. When so signaled, starting point identifier/executor 328 determines whether. REST information is indeed present. If REST information has not been provided, then starting point identifier/executor 328 begins executing RIA operation code 332 at the default starting point, for example, the beginning. RIA operation code 332 is a conventional rich internet application that executes using a browser, such as an application that runs under a plugin to a browser, such as the conventional Flash Player. If REST information has been provided, starting point identifier/executor 328 identifies the corresponding location in the RIA code 332, as described above, it makes available the address and any REST information to RIA operation code 332, and it begins execution of the RIA operation code 332 at the location it identifies. The RIA may use the REST information to preload the value of variables used by the RIA.

At any time during the operation of RIA operation code 332, the RIA code 332 may identify a new title, address and REST information, or both, to be displayed by the browser. When RIA code 332 identifies a new title or new address and REST information, it sends the new title information to title manager 344 and sends the new address and REST information to REST info manager 364. In one embodiment, the address is the same one received by RIA operation code 332, as described above.

When title manager 344 receives new title information, it determines the browser type specified in browser type storage 334, and sends the title information to either IE referring page title provider 346 or non-IE referring page title provider 350, as described below. If title manager 344 determines that the browser type in browser type storage 334 indicates that the browser is Microsoft Internet Explorer, then title manager sends the title information to IE referring page title provider 346; however if the browser type in browser type storage 334, indicates that the browser is not Microsoft Internet Explorer, then title manager 344 sends the title information to non-IE referring page title provider 350.

When IE referring page title provider 346 receives title information from title manager 344, it sends the title information to IE browser title provider 348 in the manner described above. In one embodiment, IE browser title provider 348 is part of the VBScript function on the referring page 300, as described above, and communication between IE referring page title provider 346 and IE browser title provider 348 is performed in the manner described above.

When IE browser title provider 348 receives title information from IE referring page title provider, it provides the title information to browser 310 in the manner described above, and browser 310 displays the title information in the window title.

When non-IE referring page title provider 350 receives title information from title manager 344, it sends the title information to non-IE browser title provider 348, in the manner described above. In one embodiment, non-IE browser title provider 348 is part of the JavaScript function on the referring page 300, as described above, and communication between non-IE referring page title provider 350 and non-IE browser title provider 348 is performed in the manner described above.

When non-IE browser title provider 348 receives the title information from non-IE referring page title provider 350, it provides the title information to browser 310 in the manner described above, and browser 310 displays the title information in the window title.

In a similar fashion, when RIA operation code 332 identifies new address and REST information, it sends the new address and REST information to REST info manager 364.

When REST information manager 364 receives new address and REST info from RIA operation code 332, it determines the browser type in browser type storage 334, and sends the address and REST information to either IE referring page REST information provider 366 or non-IE referring page REST information provider 370, as described below. (As noted above, REST information manager 364 may receive only the REST information from the RIA, and the referring page REST information provider 366 or 370 will prepend the address to the REST information. If the browser type in browser type storage 334, indicates that the browser is Microsoft Internet Explorer, then REST information manager 364 sends the REST information to IE referring page REST information provider 366; otherwise, REST information manager 364 sends the REST information to non-IE referring page REST information provider 370.

When IE referring page REST information provider 366 receives the address and REST information from REST information manager 364, it sends the REST information to IE browser REST information provider 368 in the manner described above. In one embodiment, IE browser REST information provider 348. 368 is part of the VBScript function on the referring page 300, as described above, and communication between IE referring page REST info provider 366 and IE browser REST information provider 368 is performed in the manner described above.

When IE browser REST information provider 368 receives the address and REST information from IE referring page REST information provider, it provides the address and REST information to browser 310 in the manner described above, and browser 310 displays the address and REST information in the address box of the browser.

When non-IE referring page REST info provider 370 receives the address and REST information from REST information manager 364, it sends the address and REST information to non-IE browser REST information provider 372, in the manner described above. In one embodiment, non-IE browser REST information provider 372 is part of the JavaScript function on the referring page 300, as described above, and communication between non-IE referring page REST information provider 370 and non-IE browser REST information provider 372 is performed in the manner described above.

When non-IE browser REST info provider 372 receives the address and REST information from non-IE referring page REST info provider 370, it provides the address REST information to browser 310 in the manner described above, and browser 310 displays the REST information in the address bar of the browser.

Starting point identifier/executor 328 continues executing RIA operation code 332, which may update the title and/or REST information on the browser any number of times as described above. In one embodiment, when starting point identifier/executor 328 completes executing the RIA operation code 332 it terminates operation in a conventional manner. 

1. A method of providing state information to a browser, comprising: running an application under a browser; as a first of multiple of predetermined references points are reached during the running of the application, providing at the application the state information identifying a state of the application and title information associated with the application to a referring web page that caused the browser to run the application; at the referring web page, receiving the state information and the title information, and providing the state information and the title information to the browser in a manner causing the browser to display the state information in a text box for the referring web page in which an address of web pages is displayed and to display the title information in an area of the browser in which titles of web pages are displayed; and as subsequent reference points of the plurality of predetermined references points are reached during the running of the application, repeating the providing to the referring web page, the receiving, and the providing to the browser.
 2. The method of claim 1, wherein the referring web page provides the state information to the browser by setting a value of “location.href”.
 3. The method of claim 1, wherein the referring web page provides the title information to the browser by setting a value of “document.title”.
 4. The method of claim 1, additionally comprising: at the referring web page, prior to the receiving the state information and providing the state information to the browser step, retrieving from the browser, other state information provided to the text box, and providing the other state information to the application; at the application, receiving the other state information, and operating the application responsive to the other state information.
 5. The method of claim 4 wherein the operating the application step comprises jumping to a point in the application corresponding to the other state information.
 6. The method of claim 4, wherein the retrieving from the browser step retrieves a value of document.location.
 7. The method of claim 1 additionally comprising: at the referring web page, retrieving from the browser a type of the browser, and providing to the application the type of the browser; and at the application, receiving the type of the browser; and wherein the providing the state information to the referring web page is responsive to the type of the browser received.
 8. The method of claim 1, wherein the text box for the referring web page comprises an address box for the referring web page.
 9. A system for providing state information to a browser, comprising: at least one computer running an application under the browser, the application for providing at an output the state information identifying a state of the application and title information associated with the application to a referring web page that caused the browser to run the application as a first of multiple of predetermined references points are reached during the running of the application; a memory storing the referring web page, having an input coupled to the application output for receiving the state information and the title information, the referring web page for providing the state information and the title information at an output coupled to the browser in a manner causing the browser to display the state information in a text box for the referring web page in which an address of web pages is displayed and to display the title information in an area of the browser in which titles of web pages are displayed; and as a subsequent reference point of the multiple of predetermined references points are reached during the running of the application: the computer configured to provide at the output updated state information and updated title information to the referring web page, and the referring webpage configured provide the updated state information and the updated title information at the output coupled to the browser in a manner causing the browser to display the updated state information in the text box and to display the updated title information in the area of the browser in which titles of web pages are displayed.
 10. The system of claim 9, wherein the referring web page provides the state information to the browser by setting a value of “location.href”.
 11. The system of claim 9, wherein the referring web page provides the title information to the browser by setting a value of “document.title”.
 12. The system of claim 9, wherein: the referring web page additionally comprises a browser input coupled to the browser and a referring web page application output coupled to the application, and the referring web page is additionally for retrieving from the browser via the browser input other state information provided to the text box, and providing via the application output the other state information; and the application additionally comprises an input coupled to the referring web page application output for receiving the other state information, and the application is additionally for operating the application responsive to the other state information.
 13. The system of claim 12 wherein the application operates responsive to the other state information by jumping to a point in the application corresponding to the other state information.
 14. The system of claim 12, wherein the referring web page retrieves the other state information from the browser by retrieving a value of document.location.
 15. The system of claim 9, wherein: the referring web page is additionally for retrieving from the browser via the browser input a type of the browser, and providing to the application via the application output the type of the browser; the application input is additionally for receiving the type of the browser; and the application provides the state information at the application output responsive to the type of the browser received.
 16. The system of claim 9, wherein the text box for the referring web page comprises an address box for the referring web page.
 17. A computer program product comprising a computer useable medium having computer readable program code embodied therein for providing state information to a browser, the computer program product comprising computer readable program code configured to cause a computer system to: run an application under a browser; as a first of multiple of predetermined references points are reached during the running of the application, provide at the application the state information identifying a state of the application and title information associated with the application to a referring web page that caused the browser to run the application; at the referring web page, receive the state information and the title information, and provide the state information and the title information, to the browser in a manner causing the browser to display the state information in a text box for the referring web page in which an address of web pages is displayed and to display the title information in an area of the browser in which titles of web pages are displayed; and as subsequent reference points of the multiple of predetermined references points are reached during the running of the application, repeating the providing to the referring web page, the receiving and the providing to the browser.
 18. The computer program product of claim 17, wherein the referring web page provides the state information to the browser by setting a value of “location.href”.
 19. The computer program product of claim 17, wherein the referring web page provides the title information to the browser by setting a value of “document.title”.
 20. The computer program product of claim 17, additionally comprising computer readable program code configured to cause the computer system to: at the referring web page, prior to the receiving the state information and providing the state information to the browser step, retrieve from the browser, other state information provided to the text box, and providing the other state information to the application; at the application, receive the other state information, and operate the application responsive to the other state information.
 21. The computer program product of claim 20 wherein the computer readable program code configured to cause the computer system to operate the application comprises computer readable program code configured to cause the computer system to jump to a point in the application corresponding to the other state information.
 22. The computer program product of claim 20, wherein the computer readable program code configured to cause the computer system to retrieve from the browser comprises computer readable program code configured to cause the computer system to retrieve a value of document.location.
 23. The computer program product of claim 17 additionally comprising computer readable program code configured to cause the computer system to: at the referring web page, retrieve from the browser a type of the browser, and provide to the application the type of the browser; and at the application, receive the type of the browser; and wherein the computer readable program code configured to cause the computer system to provide the state information to the referring web page is further configured to cause the computer system to provide the state information to the referring web page responsive to the type of the browser received.
 24. The computer program product of claim 17, wherein the text box for the referring web page comprises an address box for the referring web page. 